import request from '@/utils/request'

// 新增序列
export function addSequence(data) {
    return request({
        url: '/system/sequence/addSequence',
        method: 'post',
        data: data
    })
}

//分页查询序列
export function listSequence(query) {
    return request({
        url: '/system/sequence/listSequence',
        method: 'get',
        params: query
    })
}

//修改序列信息
export function modifySequence(data) {
    return request({
        url: '/system/sequence/modifySequence',
        method: 'post',
        data: data
    })
}

//导出序列信息
export function exportSequence(query) {
    return request({
        url: '/system/sequence/exportSequence',
        method: 'get',
        params: query
    })
}
